package com.yunzhi.domain;

/**
 * 返回值常量
 * Created by haoyx on 2017/2/7.
 */
public class ResultConstant {

    /**
     * 成功
     */
    public static final ResultDTO SUCCESS = new ResultDTO(ResultCode.SUCCESS);

    /**
     * 失败
     */
    public static final ResultDTO FAILED = new ResultDTO(ResultCode.FAILED);

    /**
     * 无效签名
     */
    public static final ResultDTO INVALID_SIGN = new ResultDTO(ResultCode.INVALID_SIGN);

    /**
     * 无效token
     */
    public static final ResultDTO INVALID_TOKEN = new ResultDTO(ResultCode.INVALID_TOKEN);

    /**
     * 未绑手机
     */
    public static final ResultDTO NOT_MOBILE = new ResultDTO(ResultCode.NOT_MOBILE);
    
    /**
     * 未登录
     */
    public static final ResultDTO NOT_LOGIN = new ResultDTO(ResultCode.NOT_LOGIN);

}
